﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserPermissionsDetail.aspx.cs" Inherits="WMS6.Web.Administration.UserPermissionsDetail" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" >
<head >
    <title>UserPermissionsDetail</title>
       <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>    
    <script type="text/javascript">
       
        //初始化页面
        window.onload = function(){
            initQueryPage();
        }
                 //弹出窗口选择批号
        function selectRole()
        {
            var rtnValue = popModalWindow('../Administration/RoleQuery.aspx?action=txtLot','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                rtnValue = rtnValue.split(',');
                document.getElementById("txtRoleId").focus();
                document.getElementById("txtRoleId").value = rtnValue[0];
                   document.getElementById("txtRoleName").value = rtnValue[1];
                //__doPostBack("txtCarrierID_TextChanged","");
            }
        }
        
    </script>
</head>
<body>
    <form id="F1033" runat="server" defaultfocus="txtRoleId" defaultbutton="btnFinish">
    <div>
            <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom"><asp:Label ID="Label1" runat="server" CssClass="label_header" 
                            Text="用户权限明细" meta:resourcekey="Label1"></asp:Label></td>
                    <td><asp:Button ID="btnCancel" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnCancel%>" 
                            onclick="btnCancel_Click"  /></td>
                    <td><asp:Button ID="btnFinish" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnFinish%>" 
                            onclick="btnFinish_Click"  /></td>
                              <td><asp:Button ID="btnSaveContinue" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSaveContinue%>" 
                            AccessKey="s" onclick="btnSaveContinue_Click" 
                                        /></td>
                 
                </tr>
            </table>
        </div>
          <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                  meta:resourcekey="lblMsg"></asp:Label>
        </div>
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL"></div>
            </div>
            <div class="tabLabelCont tabCur">
                <asp:Label ID="lblRole" runat="server" Text="用户权限明细编辑" CssClass="hover" 
                    meta:resourcekey="lblRole"></asp:Label>
            </div>
            <div style="float: left">
                <div class="tabR"></div>
            </div>
        </div>
        <div id="div_query">
            <table width="360" cellpadding="0" cellspacing="0" >
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblRoleId" runat="server" Text="角色ID" 
                            meta:resourcekey="lblRoleId"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtRoleId" runat="server" CssClass="textbox" 
                            meta:resourcekey="txtRoleId"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectRole();"/>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>       
                  <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblRoleName" runat="server" Text="角色描述" 
                            meta:resourcekey="lblRoleName"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtRoleName" runat="server" CssClass="textbox" Enabled="False" 
                            meta:resourcekey="txtRoleName"></asp:TextBox>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>        
            </table>
        </div>
        <input id="hdnActionID" type="hidden" runat="server" />
    </div>
    </form>
</body>
</html>

